package com.eh.job;

import org.apache.commons.lang.StringUtils;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by David Li on 2016/3/16.
 */
public class Test {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("spring/beans-config.xml");

        List<Long> oids = new ArrayList();
        oids.add(1L);
        oids.add(2L);
        oids.add(3L);

        System.out.println(StringUtils.join(oids, ","));
    }
}
